package com.xyht.sca_s.student_manage_system.modules.leave.entity.resp;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 请假审批表
 * </p>
 *
 * @author XYHT
 * @since 2022-12-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_leave_detail")
@ApiModel(value="SmsLeaveDetail对象", description="请假审批表")
public class SmsLeaveDetailResp implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "请假任务id")
    private String leaveId;

    private String roleId;

    @ApiModelProperty(value = "审批角色")
    private String roleName;

    @ApiModelProperty(value = "审批账号")
    private String allowUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date allowTime;

    @ApiModelProperty(value = "审批  0：待审批  1：通过  2：不通过")
    private Integer isAllow;

    @ApiModelProperty(value = "审批顺序")
    private Integer allowSort;

    private SmsLeaveUserResp smsLeaveUserResp;

}
